import request from "@/utils/request";

/**
 * 获取设备日在线列表
 * @param params
 * @returns
 */
export function getonlineList(data) {
  return request({
    url: '/management/machine.machine_online/getList',
    method: 'post',
    data
  })
}

/**
 * 获取设备每天在线详情
 * @param params
 * @returns
 */
export function getListdetails(data) {
  return request({
    url: '/management/machine.machine_online_details/getList',
    method: 'post',
    data
  })
}
/**
 * 获取设备每天在线详情
 * @param params
 * @returns
 */
export function exportByMachine(data) {
  return request({
    url: '/management/machine.machine_online/export',
    method: 'post',
    data
  })
}